{{extend 'layout.html'}}
<h1>{{=post.title}}</h1>


<div>{{= post.body }}</div>


<h1>Comments</h1>

{{ if post.comment.count() > 0: }}
    {{ for comment in post.comment.select(): }}
    <div>{{= comment.commentbody  }}</div>
    <div>Posteb by {{= comment.name }} on {{= comment.dateline }}</div>
    {{ pass }}
{{ else: }}
    <div>No comments made for this posts.</div>
{{ pass }}

<h1>{{=T('Have Your Say')}}</h1>
{{= commentform }}